﻿using MoreEvent.Common.Players;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;

namespace MoreEvent.Content.Items.CrazyThursday
{
    public class LegendaryFamilyMeal : ModItem
    {
        public override void SetDefaults()
        {
            Item.width = 32;
            Item.height = 32;
            Item.maxStack = 1;
            Item.value = Item.sellPrice(gold: 120);
            Item.rare = ItemRarityID.Pink;
            Item.accessory = true;
        }
        public override void UpdateAccessory(Player player, bool hideVisual)
        {
            player.GetModPlayer<AccPlayer>().LegendaryFamilyMeal = true;
        }
    }
}
